package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-01
 */
@Data
@DbTable(tableName = "t_curr_status_people")
public class CurrStatusPeople extends BaseEntity {
        /**
     * 
     */
    @DbTableField(columnName = "c_user_id", dbType = DbTypeEnum.VARCHAR)
    public String userId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_user_name", dbType = DbTypeEnum.VARCHAR)
    public String userName ;

    /**
     * 
     */
    @DbTableField(columnName = "c_number", dbType = DbTypeEnum.VARCHAR)
    public String number ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_id", dbType = DbTypeEnum.INTEGER)
    public Integer gpsId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_client_key", dbType = DbTypeEnum.VARCHAR)
    public String clientKey ;

    /**
     * 
     */
    @DbTableField(columnName = "c_section_name", dbType = DbTypeEnum.VARCHAR)
    public String sectionName ;

    /**
     * 
     */
    @DbTableField(columnName = "c_online_type", dbType = DbTypeEnum.INTEGER)
    public Integer onlineType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_onguard_type", dbType = DbTypeEnum.INTEGER)
    public Integer onguardType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_work_type", dbType = DbTypeEnum.INTEGER)
    public Integer workType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_online_time", dbType = DbTypeEnum.INTEGER)
    public Integer onlineTime ;

    /**
     * 
     */
    @DbTableField(columnName = "c_valid_time", dbType = DbTypeEnum.INTEGER)
    public Integer validTime ;

    /**
     * 
     */
    @DbTableField(columnName = "c_battery", dbType = DbTypeEnum.INTEGER)
    public Integer battery ;

    /**
     * 
     */
    @DbTableField(columnName = "c_type", dbType = DbTypeEnum.INTEGER)
    public Integer type ;

    /**
     * 
     */
    @DbTableField(columnName = "c_last_online_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime lastOnlineDate ;

    /**
     * 
     */
    @DbTableField(columnName = "c_geo_x", dbType = DbTypeEnum.DOUBLE)
    public Double geoX ;

    /**
     * 
     */
    @DbTableField(columnName = "c_geo_y", dbType = DbTypeEnum.DOUBLE)
    public Double geoY ;

    /**
     * 
     */
    @DbTableField(columnName = "c_abs_x", dbType = DbTypeEnum.DOUBLE)
    public Double absX ;

    /**
     * 
     */
    @DbTableField(columnName = "c_abs_y", dbType = DbTypeEnum.DOUBLE)
    public Double absY ;

    /**
     * 
     */
    @DbTableField(columnName = "c_mileage", dbType = DbTypeEnum.INTEGER)
    public Integer mileage ;

    /**
     * 
     */
    @DbTableField(columnName = "c_section_id", dbType = DbTypeEnum.VARCHAR)
    public String sectionId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_speed", dbType = DbTypeEnum.DOUBLE)
    public Double speed ;

    /**
     * 
     */
    @DbTableField(columnName = "c_fid", dbType = DbTypeEnum.BIGINT)
    public Long fid ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_state", dbType = DbTypeEnum.INTEGER)
    public Integer gpsState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_state_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime stateDate ;

    /**
     * 
     */
    @DbTableField(columnName = "c_gps_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime gpsDate ;

    /**
     * 
     */
    @DbTableField(columnName = "c_section_area_id", dbType = DbTypeEnum.INTEGER)
    public Integer sectionAreaId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_is_in_section", dbType = DbTypeEnum.INTEGER)
    public Integer isInSection ;

    /**
     * 
     */
    @DbTableField(columnName = "c_is_section_area", dbType = DbTypeEnum.INTEGER)
    public Integer isSectionArea ;

    /**
     * 
     */
    @DbTableField(columnName = "c_onguard_desc", dbType = DbTypeEnum.VARCHAR)
    public String onguardDesc ;

    /**
     * 
     */
    @DbTableField(columnName = "c_onguard_time", dbType = DbTypeEnum.INTEGER)
    public Integer onguardTime ;

    /**
     * 
     */
    @DbTableField(columnName = "c_is_act_10m", dbType = DbTypeEnum.INTEGER)
    public Integer isAct10m ;

    /**
     * 
     */
    @DbTableField(columnName = "c_last_act_type", dbType = DbTypeEnum.INTEGER)
    public Integer lastActType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_valid_mileage", dbType = DbTypeEnum.INTEGER)
    public Integer validMileage ;

    /**
     * 
     */
    @DbTableField(columnName = "c_onguard_state", dbType = DbTypeEnum.INTEGER)
    public Integer onguardState ;

    /**
     * 
     */
    @DbTableField(columnName = "c_person_type", dbType = DbTypeEnum.VARCHAR)
    public String personType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_work_begin_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime workBeginTime ;

    /**
     * 
     */
    @DbTableField(columnName = "c_work_end_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime workEndTime ;

    /**
     * 
     */
    @DbTableField(columnName = "c_work_area_id", dbType = DbTypeEnum.INTEGER)
    public Integer workAreaId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_onguard_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime onguardDate ;

    /**
     * 
     */
    @DbTableField(columnName = "c_onguard_type_new", dbType = DbTypeEnum.INTEGER)
    public Integer onguardTypeNew ;

    /**
     * 
     */
    @DbTableField(columnName = "c_warning_ext_info_child_0", dbType = DbTypeEnum.INTEGER)
    public Integer warningExtInfoChild0 ;

    /**
     * 
     */
    @DbTableField(columnName = "c_is_static_overtime", dbType = DbTypeEnum.INTEGER)
    public Integer isStaticOvertime ;

    /**
     * 创建时间
     */
//    @DbTableField(columnName = "c_db_create_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime dbCreateDate ;

    /**
     *  对应t_sys_user.c_id
     */
//    @DbTableField(columnName = "c_db_create_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbCreateId ;

    /**
     * 最后更新时间
     */
//    @DbTableField(columnName = "c_db_last_update_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime dbLastUpdateDate ;

    /**
     *  对应t_sys_user.c_id
     */
//    @DbTableField(columnName = "c_db_last_update_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbLastUpdateId ;


}
